// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_a;

import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import java.util.List;

public class cls_b
{

    public cls_b()
    {
    }

    public static Intent a(Context context)
    {
        return new Intent("android.intent.action.VIEW", Uri.parse((new StringBuilder()).append("market://details?id=").append(context.getPackageName()).toString()));
    }

    public static void a(Context context, String s)
    {
        context.startActivity(new Intent("android.intent.action.VIEW", Uri.parse(s)));
    }

    public static void a(Context context, String s, int i)
    {
        Intent intent = new Intent("android.intent.action.VIEW", Uri.parse(s));
        intent.putExtra("browser.initialZoomLevel", i);
        context.startActivity(intent);
    }

    public static boolean a(Context context, Intent intent)
    {
        List list = context.getPackageManager().queryIntentActivities(intent, 0x10000);
        boolean flag;
        if(list != null && list.size() > 0)
            flag = true;
        else
            flag = false;
        return flag;
    }
}
